package business;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class GeraBanco {
	
	public static void main (String[] args){
		Configuration configur = new Configuration();
		configur.configure();
		SchemaExport se = new SchemaExport(configur);
		try {
			se.create(true, true);
		} catch (Exception e) {
			System.out.println(e.getStackTrace());
		}
		
	}

}
